# 获取对象并将其写入控制台
$P = Get-Process
Write-Output $P

# 将输出传递给另一个cmdlet
Write-Output "test output" | Get-Member

# 取消输出中的枚举
Write-Output 1,2,3 | Measure-Object

Write-Output 1,2,3 -NoEnumerate | Measure-Object